home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20021006-20030409
/
000283_fdc@columbia.edu_Tue Feb 11 11:07:13 EST 2003.msg
< prev
next >
Wrap
Text File
|
2003-04-08
|
2KB
|
36 lines
Article: 14078 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: C-Kermit 8 - RUN Command - Apply output to kermit variable ?
Date: 11 Feb 2003 11:07:07 -0500
Organization: Columbia University
Lines: 19
Message-ID: <b2b73b$hi0$1@watsol.cc.columbia.edu>
References: <cd7b490f.0302110800.46ada4a8@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1044979629 19072 128.59.39.139 (11 Feb 2003 16:07:09 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 11 Feb 2003 16:07:09 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14078
In article <cd7b490f.0302110800.46ada4a8@posting.google.com>,
Michael Benton <michael.benton@adpcl.co.uk> wrote:
: I would like to run a unix command from within my kermit command file,
: and whave the resulting text/output piped into a kermit variable ? Is
: this possible ?
:
.result := \fcommand(some unix command and its args)
echo \m(result)
: My Using C-Kermit book does not explain the RUN command very well. I
: am trying to convert kshell scripts to kermit scripts, but there are a
: lot of unix commands to be run and lots of grepping.
:
C-Kermit 8.0 includes a GREP command; "help grep" for details. It might
have some other intrinsic commands you can use too -- COPY, RENAME,
DIRECTORY, DELETE, etc -- all of these have lots of options. Use "help"
to see what they are.
- Frank